using System;
namespace ch.ethz.ssh2
{
	
	/// <summary> In most cases you probably do not need the information contained in here.
	/// 
	/// </summary>
	/// <author>  Christian Plattner
	/// </author>
	/// <version>  2.50, 03/15/10
	/// </version>
	public class ConnectionInfo
	{
		/// <summary> The used key exchange (KEX) algorithm in the latest key exchange.</summary>
		public System.String keyExchangeAlgorithm;
		
		/// <summary> The currently used crypto algorithm for packets from to the client to the
		/// server.
		/// </summary>
		public System.String clientToServerCryptoAlgorithm;
		/// <summary> The currently used crypto algorithm for packets from to the server to the
		/// client.
		/// </summary>
		public System.String serverToClientCryptoAlgorithm;
		
		/// <summary> The currently used MAC algorithm for packets from to the client to the
		/// server.
		/// </summary>
		public System.String clientToServerMACAlgorithm;
		/// <summary> The currently used MAC algorithm for packets from to the server to the
		/// client.
		/// </summary>
		public System.String serverToClientMACAlgorithm;
		
		/// <summary> The type of the server host key (currently either "ssh-dss" or
		/// "ssh-rsa").
		/// </summary>
		public System.String serverHostKeyAlgorithm;
		/// <summary> The server host key that was sent during the latest key exchange.</summary>
		public byte[] serverHostKey;
		
		/// <summary> Number of kex exchanges performed on this connection so far.</summary>
		public int keyExchangeCounter = 0;
	}
}